@use 'sass:map';

@use '@/assets/styles/common/var.scss' as *;
@use '@/assets/styles/mixins/_button.scss' as *;
@use '@/assets/styles/mixins/mixins.scss' as *;
@use '@/assets/styles/mixins/utils.scss' as *;
@use '@/assets/styles/mixins/_var.scss' as *;

@include b(loading) {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
    margin: 15px auto;
    position: relative;
    color: $tts-main-color;
    box-sizing: border-box;
    opacity: 0.6;
    animation: animloader 1s linear infinite alternate;

    .wrapper {
        padding: 30px 0;
        text-align: center;
    }
}

@keyframes animloader {
    0% {
        box-shadow:
                -38px -6px,
                -14px 6px,
                14px -6px;
    }
    33% {
        box-shadow:
                -38px 6px,
                -14px -6px,
                14px 6px;
    }
    66% {
        box-shadow:
                -38px -6px,
                -14px 6px,
                14px -6px;
    }
    100% {
        box-shadow:
                -38px 6px,
                -14px -6px,
                14px 6px;
    }
}
